package com.love_weinuo.util.payutil;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator
 * on 2019/2/22.
 */

public class WxPayCallBackBean {
    /**
     * error : 200
     * errorCode : 10104
     * msg : 预下单成功
     * result : {"appid":"wxe6fc95e9d2e0b73d","noncestr":"LF3PQXMqPsIA30JH","orderNums":"8526D6CDE7E782E989254403AE69BF5","package":"Sign=WXPay","partnerid":"1501624461","prepayid":"wx031939246782712624e90d1d0723218542","sign":"F6A03783B7553ACB5DB2002A53B69B4D","timestamp":"1543837164"}
     */

    private int error;
    private String errorCode;
    private String msg;
    private ResultBean result;

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * appid : wxe6fc95e9d2e0b73d
         * noncestr : LF3PQXMqPsIA30JH
         * orderNums : 8526D6CDE7E782E989254403AE69BF5
         * package : Sign=WXPay
         * partnerid : 1501624461
         * prepayid : wx031939246782712624e90d1d0723218542
         * sign : F6A03783B7553ACB5DB2002A53B69B4D
         * timestamp : 1543837164
         */

        private String appid;
        private String noncestr;
        private String orderNums;
        @SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String sign;
        private String timestamp;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getOrderNums() {
            return orderNums;
        }

        public void setOrderNums(String orderNums) {
            this.orderNums = orderNums;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }
    }
}

